how to use while loop in c programming